import { request } from "../request";

export function getUserInfo(){
	return request({
		url:'/api/v1/wxAppApi/user/get',
	})
}

// 登录
export function login(data){
	return request({
		url:'/api/v1/wxAppApi/user/login',
		method:'post',
		data:data
	})
}

export function register(data){
	return request({
		url:'/api/v1/wxAppApi/user/register',
		method:"POST",
		data:data
	})
}

export function editUser(data){
	return request({
		url:'/api/v1/wxAppApi/user/edit',
		method:"PUT",
		data:data
	})
}